1000 REM Use a binary file editor to either change others or get the offsets.
1010 UNKNOWN OP: 0x3A
1020 DATA
1030 DATA
1040 DATA
1050 DATA
1060 DATA
1070 DATA
1080 DATA
1090 DATA
110 OPEN IN
120 RESERVE
130 UNKNOWN OP: 0x3A
140 REM Get the fileselector stuff and poke it
150 UNKNOWN OP: 0x3A
160 FOR
170 READ
180 IF
190 IF
20 REM Adjust wording and extensions to your own preferences and run this program
200 GOSUB
210 NEXT
220 UNKNOWN OP: 0x3A
230 REM Get the recognised file types and poke em in!
240 UNKNOWN OP: 0x3A
250 FOR
260 READ
270 VARNAME
280 IF
290 VARNAME
30 UNKNOWN OP: 0x3A
300 GOSUB
310 NEXT
320 UNKNOWN OP: 0x3A
330 REM Get the error messages and thrust 'em manfully into the required areas. In this example there are four messages, hence the for t=1 to 4. If you add more then increase the four to whatever the number is!
340 UNKNOWN OP: 0x3A
350 FOR
360 READ
370 IF
380 IF
390 GOSUB
40 REM DO NOT WRITE TO YOUR MASTER DISK!
400 NEXT
410 UNKNOWN OP: 0x3A
420 BSAVE
430 PRINT
440 END
450 UNKNOWN OP: 0x3A
460 REM poke information
470 UNKNOWN OP: 0x3A
480 VARNAME
490 INC
50 UNKNOWN OP: 0x3A
500 POKE
510 NEXT
520 PRINT
530 RETURN
540 UNKNOWN OP: 0x3A
550 REM The following data statements hold the text that will be placed into the compiler. Keep the lengths the same! Error checking is made but you never know what could go wrong!
560 REM the format is: Message$, Offset value from start of file, Maximum size of the string
570 UNKNOWN OP: 0x3A
580 REM File selector information
590 UNKNOWN OP: 0x3A
60 REM AULD BASTID 1994
600 DATA
610 DATA
620 UNKNOWN OP: 0x3A
630 DATA
640 DATA
650 UNKNOWN OP: 0x3A
660 DATA
670 DATA
680 UNKNOWN OP: 0x3A
690 DATA
70 UNKNOWN OP: 0x3A
700 DATA
710 UNKNOWN OP: 0x3A
720 DATA
730 DATA
740 UNKNOWN OP: 0x3A
750 DATA
760 DATA
770 UNKNOWN OP: 0x3A
780 DATA
790 DATA
80 KEY
800 UNKNOWN OP: 0x3A
810 REM Flash declaration for the cursor flash. MUST HAVE 16 STEPS!
820 UNKNOWN OP: 0x3A
830 DATA
840 DATA
850 UNKNOWN OP: 0x3A
860 REM Recognised file extensions
870 REM Format: file extension, offset from start of file: Must be lower case!
880 UNKNOWN OP: 0x3A
890 DATA
90 VARNAME
900 DATA
910 DATA
920 DATA
930 DATA
940 DATA
950 DATA
960 DATA
970 DATA
980 UNKNOWN OP: 0x3A
990 REM These next statements change what error messages are printed when errors occur. I've not programmed them all; 1) I'm lazy 2) there's 86 of 'em! I've listed the most common errors that come up in my programming tasks, Only four 'cos I'm a genius (Not!)